<template>
  <div>
    <Count @changeCount="changeCount"></Count>
  </div>
</template>

<script lang="ts">
import {defineComponent} from "vue";
export default defineComponent({
    name:"App",
})
</script>

<script lang="ts" setup>
import Count from "./components/Count.vue";
const changeCount = (n:number)=>{
    console.log(n)
}
</script>

<style scoped>

</style>